home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / demos / mag6demo.exe / M600D2.ZIP / MSGLIST.RJE < prev    next >
Text File  |  1992-06-09  |  5KB  |  131 lines

  1. @a14 @c0 @c18
  2.                     ╔══════════════════════════════════╗
  3.                     ║                                  ║
  4.                     ║ Magnum Message "ARC/ZIP" Utility ║
  5.                     ║                                  ║
  6.                     ╚══════════════════════════════════╝
  7.  
  8. @c3 - - - B E G I N   C O M M E N T - - -
  9.   Modified by TJD Software to allow specification of '*' (all
  10. conferences) for all allowable message areas, '*' (date of last
  11. logon) for the 'starting' date and '*' (today's date) for the ending
  12. date. Additionally, message areas with no description are not
  13. displayed in the list. The @c16 command after a user response of 'n'
  14. to the 'create list' prompt has been replaced by @b40(z0="n"); to
  15. suppress an unwanted SYSOP NOTE.
  16.   Original MSGLIST.RJE produced by Chuck Gilmore of Gilmore Systems.
  17. - - - E N D   C O M M E N T - - - @c4
  18. @a11
  19.     Create a compressed message listing for download (Y/N) => @z0('yn');
  20.     @b0(z0="y"); @b40(z0="n"); @p0 @z0="cmd.exe"; @z1="/c usermsgs.cmd ";
  21.     @z2=u54; @z1=(z1+z2); @z1=(z1+" ");
  22.     @z10=u1; @z1=(z1+z10); @z1=(z1+" ");
  23. @c12
  24.         @z10="";        Initialise Z10 to null.
  25.         @z3=u56;        Assign MSG_R_AREAS to MILC var @Z3;
  26.         @e82            Prompt for MsgBase
  27. @c13
  28. @c12 @z2="a"; @b1(z3!~z2); @z49=v53; @b1(z49="");
  29. @c13 A - @v53
  30. @c12 @p1 @z2="b"; @b2(z3!~z2); @z49=v54; @b2(z49="");
  31. @c13 B - @v54
  32. @c12 @p2 @z2="c"; @b3(z3!~z2); @z49=v55; @b3(z49="");
  33. @c13 C - @v55
  34. @c12 @p3 @z2="d"; @b4(z3!~z2); @z49=v56; @b4(z49="");
  35. @c13 D - @v56
  36. @c12 @p4 @z2="e"; @b5(z3!~z2); @z49=v57; @b5(z49="");
  37. @c13 E - @v57
  38. @c12 @p5 @z2="f"; @b6(z3!~z2); @z49=v58; @b6(z49="");
  39. @c13 F - @v58
  40. @c12 @p6 @z2="g"; @b7(z3!~z2); @z49=v59; @b7(z49="");
  41. @c13 G - @v59
  42. @c12 @p7 @z2="h"; @b8(z3!~z2); @z49=v60; @b8(z49="");
  43. @c13 H - @v60
  44. @c12 @p8 @z2="i"; @b9(z3!~z2); @z49=v61; @b9(z49="");
  45. @c13 I - @v61
  46. @c12 @p9 @z2="j"; @b10(z3!~z2); @z49=v62; @b10(z49="");
  47. @c13 J - @v62
  48. @c12 @p10 @z2="k"; @b11(z3!~z2); @z49=v63; @b11(z49="");
  49. @c13 K - @v63
  50. @c12 @p11 @z2="l"; @b12(z3!~z2); @z49=v64; @b12(z49="");
  51. @c13 L - @v64
  52. @c12 @p12 @z2="m"; @b13(z3!~z2); @z49=v65; @b13(z49="");
  53. @c13 M - @v65
  54. @c12 @p13 @z2="n"; @b14(z3!~z2); @z49=v66; @b14(z49="");
  55. @c13 N - @v66
  56. @c12 @p14 @z2="o"; @b15(z3!~z2); @z49=v67; @b15(z49="");
  57. @c13 O - @v67
  58. @c12 @p15 @z2="p"; @b16(z3!~z2); @z49=v68; @b16(z49="");
  59. @c13 P - @v68
  60. @c12 @p16 @z2="q"; @b17(z3!~z2); @z49=v69; @b17(z49="");
  61. @c13 Q - @v69
  62. @c12 @p17 @z2="r"; @b18(z3!~z2); @z49=v70; @b18(z49="");
  63. @c13 R - @v70
  64. @c12 @p18 @z2="s"; @b19(z3!~z2); @z49=v71; @b19(z49="");
  65. @c13 S - @v71
  66. @c12 @p19 @z2="t"; @b20(z3!~z2); @z49=v72; @b20(z49="");
  67. @c13 T - @v72
  68. @c12 @p20 @z2="u"; @b21(z3!~z2); @z49=v73; @b21(z49="");
  69. @c13 U - @v73
  70. @c12 @p21 @z2="v"; @b22(z3!~z2); @z49=v74; @b22(z49="");
  71. @c13 V - @v74
  72. @c12 @p22 @z2="w"; @b23(z3!~z2); @z49=v75; @b23(z49="");
  73. @c13 W - @v75
  74. @c12 @p23 @z2="x"; @b24(z3!~z2); @z49=v76; @b24(z49="");
  75. @c13 X - @v76
  76. @c12 @p24 @z2="y"; @b25(z3!~z2); @z49=v77; @b25(z49="");
  77. @c13 Y - @v77
  78. @c12 @p25 @z2="z"; @b26(z3!~z2); @z49=v78; @b26(z49="");
  79. @c13 Z - @v78
  80. @p26 @z10="";
  81. @p27 @c13
  82.  Enter First Conf. Letter (0 to abort, * for @u56) => @z2('abcdefghijklmnopqrstuvwxyz0*');
  83.   @b40(z2="0"); @b28(z3~z2); @b34(z2="*"); Unauthorized Conference Area!
  84.   @b27; @p28 @z10=(z10+z2); @p29
  85.  Next Conference Letter (0 to end input) => @z2('abcdefghijklmnopqrstuvwxyz0');
  86.   @b30(z2="0"); @b28(z3~z2); Unauthorized Conference Area! @b29; @p34 @z10="*";
  87.   @p30 @z1=(z1+z10); @z1=(z1+" "); @z5=u51; @b31(z5="U.S."); @z1=(z1+"E ");
  88.   @b32; @p31 @z1=(z1+"U "); @p32
  89.  Include Private messages to/from you? (Y/N) => @z5('yn'); @z1=(z1+z5); @z1=(z1+" ");
  90.  Enter Starting Date (* for @u14) => @z5(10); @b35(z5!="*"); @z5=u14; @p35 @d5 @z1=(z1+z5);
  91.  @z1=(z1+" ");Enter Ending Date (* for @o17) => @z5(10); @b36(z5!="*"); @z5=o17; @p36 @d5
  92.  @z1=(z1+z5); @z1=(z1+" "); @z5=o18; @z1=(z1+z5); @z1=(z1+".MSG ");
  93.  @n0=0; @n1=0;
  94.  @z1=(z1+" "); @z99=u69; @z1=(z1+z99);
  95. @c3
  96. - - - - - - -  Begin Comment - - - - - - - - - - - - - - - - - - - - - - - -
  97.  
  98.    IF you really want to get fancy, you could prompt the user for a priority
  99.    class and level, but they could choose "timecritical" would essentially
  100.    freeze other tasks, such as online sessions on other nodes!
  101.  
  102.  Priority: Class (0=default, 1=Idle, 2=Regular, 3=TimeCritical) => @n0(0,3);
  103.                                Level (0=lowest, ... 31=highest) => @n1(0,31);
  104.  @n0=(n0*100); @n0=(n0+n1);
  105.  @n1=0;
  106. - - - - - - -  End Comment - - - - - - - - - - - - - - - - - - - - - - - - -
  107. @c4
  108.  The job may complete while you're still online. If the job is completed
  109.  while you're online, do you want Magnum to notify you (Y/N) => @z2('yn');
  110.  @b33(z2="N"); @n1=1;
  111.  @p33
  112. @c3
  113. - - - - - - - - - -  Remove this comment to view the following values - -
  114.  Z0 contains "@z0;"
  115.  Z1 contains "@z1;"
  116.  N0 contains "@n0;"
  117.  N1 contains "@n1;"
  118. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  119. @c4
  120.  Submitting RJE ... @e1 @z0="";
  121.  @b38(n1=0);
  122. @c3
  123. - - - - - - - - - - - Remove this comment to view the PID and RJE Jobname - -
  124.   PID=@n1;
  125.   RJE @z1; Successfully Submitted
  126. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  127. @c4
  128.  @b40;
  129.  @p38 RJE submsission failed!
  130. @p40 @z0="";
  131.